//
//  ColorManager.m
//  YueYueSpecailCarDriver
//
//  Created by 李亚军 on 2017/5/18.
//  Copyright © 2017年 黄旺鑫. All rights reserved.
//

#import "ColorManager.h"
#import <UIKit/UIKit.h>

/// 听单模式选项卡字体颜色
NSInteger FontColorOfListenToSingleTab = 0xbdc8f1;

/// 听单模式选项卡的颜色
NSInteger SelectedColorOfListenToSingleTab = 0x3E88F5;

/// 听单模式选项卡背景色
NSInteger SelectedCorlorOfListenToSingleBack = 0x252F54;

@implementation ColorManager


/// 获取听单选项卡的字体颜色值
+ (UIColor *)getFontColorOfListenToSingleTab {
    
    UIColor *color = [UIColor colorWithRed:(((FontColorOfListenToSingleTab & 0xFF0000) >> 16))/255.0 green:(((FontColorOfListenToSingleTab &0xFF00) >>8))/255.0 blue:((FontColorOfListenToSingleTab &0xFF))/255.0 alpha:1.0];
    
    return color;
}

/// 获取听单选项卡选中视图的背景颜色
+ (UIColor *)getSelectedColorOfListenToSingleTab {
    
    UIColor *color = [UIColor colorWithRed:(((SelectedColorOfListenToSingleTab & 0xFF0000) >> 16))/255.0 green:(((SelectedColorOfListenToSingleTab &0xFF00) >>8))/255.0 blue:((SelectedColorOfListenToSingleTab &0xFF))/255.0 alpha:1.0];
    
    return color;
}


/// 获取听单选项卡选中视图的背景颜色
+ (UIColor *)getSelectedCorlorOfListenToSingleBack {
    
    UIColor *color = [UIColor colorWithRed:(((SelectedCorlorOfListenToSingleBack & 0xFF0000) >> 16))/255.0 green:(((SelectedCorlorOfListenToSingleBack &0xFF00) >>8))/255.0 blue:((SelectedCorlorOfListenToSingleBack &0xFF))/255.0 alpha:1.0];
    
    return color;
}


@end
